package com.yicong.ants.bean.video;

/**
 * @author LinDingQiang
 * @description
 * @time 4/21/21 5:25 PM
 * @email dingqiang.l
 */
public class GiftInfoBean {
    float gift_coin;
    private String coin;
    private float tax_level;

    public GiftInfoBean() {
    }

    public float getGift_coin() {
        return this.gift_coin;
    }

    public String getCoin() {
        return this.coin;
    }

    public float getTax_level() {
        return this.tax_level;
    }

    public void setGift_coin(float gift_coin) {
        this.gift_coin = gift_coin;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }

    public void setTax_level(float tax_level) {
        this.tax_level = tax_level;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof GiftInfoBean)) return false;
        final GiftInfoBean other = (GiftInfoBean) o;
        if (!other.canEqual((Object) this)) return false;
        if (Float.compare(this.getGift_coin(), other.getGift_coin()) != 0) return false;
        final Object this$coin = this.getCoin();
        final Object other$coin = other.getCoin();
        if (this$coin == null ? other$coin != null : !this$coin.equals(other$coin)) return false;
        if (Float.compare(this.getTax_level(), other.getTax_level()) != 0) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof GiftInfoBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        result = result * PRIME + Float.floatToIntBits(this.getGift_coin());
        final Object $coin = this.getCoin();
        result = result * PRIME + ($coin == null ? 43 : $coin.hashCode());
        result = result * PRIME + Float.floatToIntBits(this.getTax_level());
        return result;
    }

    public String toString() {
        return "GiftInfoBean(gift_coin=" + this.getGift_coin() + ", coin=" + this.getCoin() + ", tax_level=" + this.getTax_level() + ")";
    }
}
